Recall the formula for the period of a mass

attached to a spring with spring constant

whose other side is attached to a wall:

Also, recall that the effective spring constant of two springs in parallel is

and the effective spring constant of two springs in series is

. So, the effective spring constant for Figure

is

and the effective spring constant for Figure

is

Therefore, the desired ratio is

Therefore, answer (A) is correct.